<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include  file="userControl.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>修改用户信息</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<link rel="stylesheet" type="text/css" href="css/userInfo.css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/userInfo.js"></script>
<script type="text/javascript" src="js/SecurityCode.js"></script>
</head>

<body>
	<form class="contact_form"
		action="setUserInfo"
		method="post" name="contact_form">
		<ul>
			<li>
				<h2>用户信息</h2>
			</li>
			<li>
				<label for="name">真实姓名：</label> 
				<input type=text
						name="userBean.realname" id="realname"
						value="${userBean.realname}" ><span
						id="realnameCheck" style="color:red;"></span></li>
			<li>
				<label for="name">电子邮箱：</label> 
				<input type=text
						name="userBean.email" id="email" value="${userBean.email}"
						><span id="emailCheck"
						style="color:red;"></span></li>
			<li>
				<label for="message">电话号码：</label> 
				<input type=text
						name="userBean.phone" id="phone" value="${userBean.phone}"
						><span id="phoneCheck"
						style="color:red;">*</span>
			</li>
			<li>
				<label for="name">学 校：</label> 
				<input type=text
						value="${userBean.university}" name="userBean.university"
						id="university" ></li>
			<li>
				<label for="name">学 院：</label> 
				<input type=text
						value="${userBean.institute}" name="userBean.institute"
						id="institute" ></li>
			<li>
				<label for="name">年 级：</label> 
				<input type=text
						value="${userBean.grade}" name="userBean.grade" id="grade"
						></li>
			<li>
				<label for="name">专 业：</label> 
				<input type=text
						value="${userBean.major}" name="userBean.major" id="major"
						></li>
			<li>
				<label for="name">班 级：</label> 
				<input type=text
						value="${userBean.classes}" name="userBean.classes" id="classes"
						></li>
			<li>
				<label for="name">验证码：</label> 
				<input type="text"
						name="securityCode" size="5" maxlength="4" /><img
						src="securityCodeImage" id="Verify" style="cursor:hand"
						alt="看不清，换一张" width="60" height="30" /></li>
			<li>
				<button class="submit" type="submit">确认修改</button>
			</li>
		</ul>
	</form>
</body>
</html>
